from pywinauto import Application

# 配置软件地址
APP_DIR = r"D:\YHY\ICD\ICD_6\20231017\ICMGROUP_Release_V123_20231017_1639_to_6"
APP_PATH = APP_DIR + r"\ICMMain.exe"

# 配置主操作窗口
MAIN_WINDOW = "CC飞机飞管计算机全连接架构内总线数据流设计开发"
PROJECT_NAME = "项目名称"
PRODUCT_NAME = "成品名称"
PLUG_NAME = "插头名称"
BUS_NAME = ["总线名称"]
NODE_1394_NAME = "1394节点名称"
ICD_NAME = "数据包"
MSG_ID = "1H"

app = Application(backend="uia").connect(title_re=MAIN_WINDOW)  # 连接程序
